package it.das.task;

import it.das.activity.IActivity;

public class TaskB implements ITask {
	
	private IActivity create;
	private IActivity read;

	public void setCreate(IActivity create) {
		this.create = create;
	}

	public void setRead(IActivity read) {
		this.read = read;
	}



	public Object perform(Object... args) {
		create.execute(args);
		read.execute(args);
		return null;
	}

}
